package com.smbms.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.smbms.dao.RoleMapper;
import com.smbms.entity.Role;


@Service
//事务管理器
@Transactional
public class RoleServiceImpl implements RoleService{
	@Resource
	private RoleMapper roleMapper;

	@Override
	public List<Role> getRoleList() {
		return roleMapper.getRoleList();
	}

}
